
@import './var';

*{
    padding: 0;
    margin: 0;
}
html{
    -webkit-text-size-adjust: 100%; 
    -ms-text-size-adjust: 100%;
}

body{
    // 点击“转”按钮，ios上面会有延迟并且会出现图片的阴影
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    outline: none;
    -webkit-overflow-scrolling: touch;
    line-height: 1.6;
}

html,
body{
    font-size:62.5%;
    color:@normalColor;
    background-color: @bodyColor;
    font-family: @FontDefault; 
    height:100%;
}

img{
    max-width: 100%;
    width: 100%;
    border:0;
}

input,
select,
textarea{
    font-size: @normalSize;
    border:none;
    font-family: @FontDefault;
    -webkit-appearance: none;
    width:100%;
    &:focus{
        outline: none;
    }
}

button{
    font-family: @FontDefault;
}

input[type="text"]:disabled{
    background-color:#fff;
}

::-webkit-input-placeholder{
    font-family: @FontDefault;
    color:@gray;
    -webkit-appearance: none;
}

::-webkit-scrollbar{
    display: none;
    opacity: 0;
}

// @media screen and (max-width:768px){
//     html,
//     body{
//         font-size:80%;
//     }
// }
@media screen and (max-width:414px){
    html,
    body{
        font-size:70%;
    }
}
@media screen and (max-width:375px){
    html,
    body{
        font-size:62.5%;
    }
}
@media screen and(max-width: 320px){
    html,
    body{
        font-size:61.5%;
    }
}